package com.weishuang.monitor.employee.config;

import cn.hutool.setting.Setting;

public class ConfigParame {

    private static String groupKey = "requestParame";

    /**
     * 客户端ID
     */
    public static String clientId = "";

    /**
     * 客户端
     */
    public static String clientSecret = "";

    /**
     * 接收端URL地址
     */
    public static String leaderPath = "";

    public static void initParame(Setting setting) {
        clientId = setting.getStr("clientId",groupKey,"");
        clientSecret = setting.getStr("clientSecret",groupKey,"");
        leaderPath = setting.getStr("leaderPath",groupKey,"");
    }
}
